
var tmp = `
  <%var ctlTypes = ['rx-textarea', 'rx-group', 'rx-user', 'rx-upload', 'rx-quill-editor', 'rx-radio','rx-form-signbox', 'rx-image','rx-address', 'rx-button-edit', 'rx-map', 'rx-checkbox-list', 'rx-date-range', 'rx-tree-select','rx-relate-process']%>
  <div class="rx-attrs-field">
    <% for(var i=0;i<tab.list.length;i++){
        var attr= tab.list[i];
        %>
        <div class="<%if(attr.break || ctlTypes.includes(attr.control)){%> rx-fieid fieid-line <%} else {%>rx-fieid<%}%>" >
          <div>
            <rx-valid :readonly="readonly" :metadata="metadata" subname="<%=subname%>" :data="data" :attrList="tabList"  attrAlias="<%=attr.name%>"/>
          </div>
          
           <div class="<%if(attr.break){%> fieid-line-group <%} else {%>fieid-group single_input<%}%>" >
            <<%=attr.control%> v-model="data.<%=attr.name%>" :attrList="tabList" :permission="permission" :metadata="metadata" subname="<%=subname%>"
                       :readonly="readonly" :data="data" attrAlias="<%=attr.name%>" />
          </div>
          <div class="fieid-readonly" v-if="!readonly && validVtype('<%=attr.name%>','<%=subname%>')&&!validVtype('<%=attr.name%>','<%=subname%>').success">
            {{validVtype('<%=attr.name%>','<%=subname%>').msg}}
          </div>
        </div>
  <%}%>
  </div>
`
export default tmp;
